package testing;

import logic.English;
import logic.PlayfairCipher;

public class Test5 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		PlayfairCipher cipher = new PlayfairCipher(new English(), "playfairexample");
		cipher.cipherFile("text.txt", "cipher.txt");
		System.out.println("Done.");
		
		
		/*
		PlayfairCipher cipher = new PlayfairCipher(new English());
		TetragraphMap tmap = new TetragraphMap(cipher, "english-tetragraphs.txt");
		tmap.crunchFile("text.txt");
		tmap.saveToFile("english-tetragraphs.txt");
		System.out.println("Done");
		*/
	}

}
